home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
unixt~3h
/
wc.zoo
/
Makefile
next >
Wrap
Makefile
|
1991-03-07
|
925b
|
51 lines
#################################################################
# Makefile for wc(1v) word count filter
#################################################################
# Flags for DEF
# -DBUFFER_SIZE=n i/o buffer memory (default 50000)
# -DCHARSET_SIZE=n character set size (default 256)
# -DSKIP_CR try to handle CRLF
DEF =
OPT = -O -fcombine-regs -fstrength-reduce -fomit-frame-pointer
#
# Options for compiler and linker
#
CFLAGS = $(OPT) $(DEF)
LDFLAGS = -s
OBJ = wc.o
#
# Extra libraries to link with.
#
LIBES = -liio
#
# Target program name and directory for binary.
#
PROG = wc.ttp
BINDIR = e:/bin
#
# Production rules
#
$(PROG): $(OBJ)
$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBES)
wc.zoo: $(PROG) Makefile README $(PROG)
rm -f $@
zoo a $@ README wc.c Makefile $(PROG)
wc.uue: wc.zoo
uue wc.zoo
install: $(PROG)
cp $(PROG) $(BINDIR)
clean:
rm -f $(OBJ) core
clobber: clean
rm -f $(PROG) wc.zoo wc.uue